const koa=require("koa");

const koaBody=require("koa-body");
const cors=require("@koa/cors");
const compose=require("koa-compose");
const router=require("./routes")

const middleWare=compose([
  koaBody(),
  cors()
])

const app=new koa();

app.use(middleWare);
app.use(router());
app.listen(9093);
